package com.example.makerspace.domain;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_users_online",autoResultMap = true)
@Document(indexName = "t_users_online")
public class UsersOnlineDO extends  BaseDO{
    @Field(name = "username", type = FieldType.Text, analyzer="ik_max_word")
    private  String username;
    private String nickname;
    private  String mapAddress;
    private  String browser;
    private   Integer state;
    private  String loginTime;
    private  String entName;
}
